package com.example.wac.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author wuancheng
 * @description 事件
 * @date 2021-09-08 16:25:00
 */

public class MessageEvent extends ApplicationEvent {
    private String message;

    private String transactionId;

    public MessageEvent(Object source,String message, String transactionId) {
        super(source);
        this.message = message;
        this.transactionId = transactionId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
}
